package com.project.config;

import feign.Request;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyFeignConfiguration {
    @Bean
    public Request.Options options() {
        return new Request.Options(10000, 10000); // 连接和读取超时时间均为10秒
    }
}
